FlowUniqueIdCreator
The FlowUniqueIdCreator class is responsible for generating unique IDs based on a specified template and setting the value in a variable.
Properties
| Name | Description |
|---|---|
| Caption | The caption dictionary representing localized captions for the flow object. |
| TemplateName | The name of the template used to generate the unique ID. |
| TemplateId | The ID of the template used to generate the unique ID. |
| VariableKey | The key of the variable where the generated unique ID is stored. |
| Key | A unique identifier for the workflow step. |
| TemplateValue | The value generated from the template for the unique ID. |
| VariableName | The name of the variable where the generated unique ID is stored. |
| Name | Name for the workflow step. |
| WorkflowCodeInstance | The workflow code instance associated with the flow object. |
| CachedDMObjects | The cached document management objects related to the flow object. |
| TypeCode | The type code associated with the flow object. |
Constructors
| Name | Description |
|---|---|
| FlowUniqueIdCreator(name, workflowData, workflowCodeInstance) | Constructor for the FlowUniqueIdCreator class. Initializes a new instance of the FlowUniqueIdCreator class. |
| FlowUniqueIdCreator(name, workflowData, workflowCodeInstance) | Constructor for the FlowUniqueIdCreator class. Initializes a new instance of the FlowUniqueIdCreator class. |
Methods
| Name | Description |
|---|---|
| CreateUniqueId() | Creates a unique ID based on the template and stores it in the specified variable. |
| Initialize() | Initializes the flow unique ID creator. This method is an implementation of the abstract Initialize method from the base class. |
Events
| Name | Description |
|---|---|
| OnAfterExecution(sender, args) | Occurs after the execution of the workflow step. |
| OnBeforeExecution(sender, args) | Occurs before the execution of the workflow step. |